PREFER_HOST_MODE=hostname

NACOS_SERVERS=nacos1:{{ combined_vars.nacos_env.port }} nacos2:{{ combined_vars.nacos_env.port }} nacos3:{{ combined_vars.nacos_env.port }}
NACOS_SERVER_IP={{ global_bond_ip }}
NACOS_AUTH_ENABLE={{ combined_vars.nacos_env.auth.enable }}
NACOS_AUTH_TOKEN=SecretKey{{ combined_vars.nacos_env.auth.token_plain_text | hash('sha256') }}
NACOS_AUTH_IDENTITY_KEY=nacos
NACOS_AUTH_IDENTITY_VALUE={{ combined_vars.nacos_env.auth.token_plain_text | hash('sha256') }}

SPRING_DATASOURCE_PLATFORM=mysql

MYSQL_SERVICE_HOST={{ combined_vars.nacos_env.mysql.host }}
MYSQL_SERVICE_DB_NAME={{ combined_vars.nacos_env.mysql.db }}
MYSQL_SERVICE_PORT={{ combined_vars.nacos_env.mysql.port }}
MYSQL_SERVICE_USER={{ combined_vars.nacos_env.mysql.user }}
MYSQL_SERVICE_PASSWORD={{ combined_vars.nacos_env.mysql.pass }}
MYSQL_SERVICE_DB_PARAM=characterEncoding=utf8&connectTimeout=1000&socketTimeout=3000&autoReconnect=true&useSSL=false&allowPublicKeyRetrieval=true

TOMCAT_ACCESSLOG_ENABLED={{ combined_vars.nacos_env.tomcat_log_enabled }}